YUI.add("notification-group-discussion-models",function(r){function o(r){o.superclass.constructor.call(this,r)}r.Models[this.name]=o,r.extend(o,r.FlickrModelRegistry,{name:this.name,parseDiscussionModel:function(o,e,i,s){return{id:o,pathAlias:e,title:i.name,replyCount:i.replies,groupID:i.group_id,groupName:i.groupName,iconUrls:r.APIHelper.response.removeProtocolFromURL(i.iconurls),coverPhotoUrls:r.APIHelper.response.removeProtocolFromURL(i.coverphoto_url),group:s}},attributes:{id:{},pathAlias:{},title:{},replyCount:{},groupID:{},groupName:{},iconUrls:{},coverPhotoUrls:{},url:{readOnly:!0,derivedBy:["id","groupID"],defaultFn:function(r){return"/groups/"+this.getValue(r,"groupID")+"/discuss/"+r}},groupUrl:{readOnly:!0,derivedBy:["id","groupID"],defaultFn:function(r){return"/groups/"+this.getValue(r,"groupID")}},group:{isModel:!0}}})},"@VERSION@",{requires:["flickr-model-registry"]});YUI.add("notification-gallery-models",function(e){function t(e){t.superclass.constructor.call(this,e)}e.Models[this.name]=t,e.extend(t,e.FlickrModelRegistry,{name:this.name,parseGalleryModel:function(t){return{id:t.id,pathAlias:t.pathalias,title:t.title._content,iconUrls:e.APIHelper.response.removeProtocolFromURL(t.iconurls),owner:{id:t.owner,username:t.ownername,displayname:t.realname}}},attributes:{id:{},title:{},pathAlias:{},url:{readOnly:!0,derivedBy:["id","owner","pathAlias"],defaultFn:function(e){return"/photos/"+(this.getValue(e,"pathAlias")||this.getValue(e,"owner").id)+"/galleries/"+e}},iconUrls:{},owner:{}}})},"@VERSION@",{requires:["flickr-model-registry"]});YUI.add("notification-flickrmail-models",function(i){function e(i){e.superclass.constructor.call(this,i)}i.Models[this.name]=e,i.extend(e,i.FlickrModelRegistry,{name:this.name,parseFlickrMailModel:function(i){return{id:i.id,isMuted:i.is_muted}},attributes:{id:{},isMuted:{}}})},"@VERSION@",{requires:["flickr-model-registry"]});YUI.add("notification-event-fave-models",function(e){function t(e){t.superclass.constructor.call(this,e)}e.Models[this.name]=t,e.extend(t,e.FlickrModelRegistry,{name:this.name,attributes:{id:{},type:{},owner:{isModel:!0},timestamp:{}}})},"@VERSION@",{requires:["flickr-model-registry"]});YUI.add("notification-event-comment-models",function(e){function t(e){t.superclass.constructor.call(this,e)}e.Models[this.name]=t,e.extend(t,e.FlickrModelRegistry,{name:this.name,attributes:{id:{},type:{},owner:{isModel:!0},timestamp:{},content:{}}})},"@VERSION@",{requires:["flickr-model-registry"]});YUI.add("notification-event-follower-models",function(e){function t(e){t.superclass.constructor.call(this,e)}e.Models[this.name]=t,e.extend(t,e.FlickrModelRegistry,{name:this.name,attributes:{type:{},owner:{isModel:!0},timestamp:{}}})},"@VERSION@",{requires:["flickr-model-registry"]});YUI.add("notification-event-added-to-gallery-models",function(e){function t(e){t.superclass.constructor.call(this,e)}e.Models[this.name]=t,e.extend(t,e.FlickrModelRegistry,{name:this.name,attributes:{type:{},owner:{isModel:!0},gallery:{},timestamp:{}}})},"@VERSION@",{requires:["flickr-model-registry"]});